package com.imaker.frame.network

import com.imaker.frame.bean.BaseResp
import com.imaker.frame.bean.SslToken
import com.imaker.frame.bean.UserInfo
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

/**
 * @Description:
 * @author ziheng
 * @date 2023/1/12 16:35
 */
interface ApiService {
    @GET("/user/information")
    suspend fun getUserInfoById(): BaseResp<UserInfo>

    @POST("/buried/data")
    suspend fun getPoint(@Body requestBody: RequestBody): BaseResp<Any>

    @GET("sdk/sls/token")
    suspend fun getSslToken(): BaseResp<SslToken>
}